package com.ruoyi.terminal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 属性管理对象 dc_termattr
 * 
 * @author ruoyi
 * @date 2020-12-23
 */
public class DcTermattr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端的imei号 */
    @Excel(name = "终端imei号")
    private String termImei;

    /** 终端sim卡的iccid号 */
    @Excel(name = "终端sim卡的iccid号")
    private String simIccid;

    /** 终端类别 */
    @Excel(name = "终端类别")
    private Integer termKind;

    /** 终端型号编号 */
    @Excel(name = "终端型号编号")
    private Integer termModel;

    /** 终端生产商编号 */
    @Excel(name = "终端生产商编号")
    private String termFac;

    /** 终端提供商编号 */
    @Excel(name = "终端提供商编号")
    private String termPrvdr;

    /** 录入操作员编码 */
    @Excel(name = "录入操作员编码")
    private String opr;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date gmtModified;

    public void setTermImei(String simImei)
    {
        this.termImei = simImei;
    }

    public String getTermImei()
    {
        return termImei;
    }
    public void setSimIccid(String simIccid) 
    {
        this.simIccid = simIccid;
    }

    public String getSimIccid() 
    {
        return simIccid;
    }
    public void setTermKind(Integer termKind)
    {
        this.termKind = termKind;
    }

    public Integer getTermKind()
    {
        return termKind;
    }
    public void setTermModel(Integer termModel) 
    {
        this.termModel = termModel;
    }

    public Integer getTermModel() 
    {
        return termModel;
    }
    public void setTermFac(String termFac) 
    {
        this.termFac = termFac;
    }

    public String getTermFac() 
    {
        return termFac;
    }
    public void setTermPrvdr(String termPrvdr) 
    {
        this.termPrvdr = termPrvdr;
    }

    public String getTermPrvdr() 
    {
        return termPrvdr;
    }
    public void setOpr(String opr) 
    {
        this.opr = opr;
    }

    public String getOpr() 
    {
        return opr;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("termImei", getTermImei())
            .append("simIccid", getSimIccid())
            .append("termKind", getTermKind())
            .append("termModel", getTermModel())
            .append("termFac", getTermFac())
            .append("termPrvdr", getTermPrvdr())
            .append("opr", getOpr())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
